package yunmouren.top.attackdistance;


import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;

@Mod(
        modid = AttackDistance.MOD_ID,
        name = AttackDistance.MOD_NAME,
        version = AttackDistance.VERSION
)
public class AttackDistance {
    public static final String MOD_ID = "attack-distance";
    public static final String MOD_NAME = "Attack Distance";
    public static final String VERSION = "1.0-SNAPSHOT";
    @Mod.Instance(MOD_ID)
    public static AttackDistance INSTANCE;

    @Mod.EventHandler
    public void preinit(FMLPreInitializationEvent event) {
        System.out.print("Attack-Distance By Yun_Nan");
    }
    @Mod.EventHandler
    public static void serverInit(FMLServerStartingEvent event) {
        serverRegister(event);
    }

    public static void serverRegister(FMLServerStartingEvent event) {
        event.registerServerCommand(new Command());
    }
}

